package com.netx.ut.lib.hibernate;


public class User extends EntityInstance {

	private String _name = null;
	private String _city = null;
	private int _age = 0;
	private String _username = null;
	
	public User() {}
	
	public String getName() { return _name; };
	public User setName(String value) { _name = value; return this; }
	public String getCity() { return _city; };
	public User setCity(String value) { _city = value; return this; }
	public int getAge() { return _age; };
	public User setAge(int value) { _age = value; return this; }
	public String getUsername() { return _username; };
	public User setUsername(String value) throws ValidationException {
		Validator.validateUsername(value);
		_username = value;
		return this;
	}
}
